package com.kl.forum.service;

import com.kl.forum.dao.TagDicMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TagDicService {

    @Autowired
    private TagDicMapper tagDicMapper;


    public List<Map> showTag(Map<String,Object> map){
         List<Map> list= tagDicMapper.showTag(map);
         return  list;
    }

    public List<Map> findTagAll() {
        return  tagDicMapper.findTagAll();
    }
}
